﻿namespace Utility3D
{
    public static class DefaultWorldModelGenerator
    {
        public static WorldModel GetModel()
        {
            var worldModel = new WorldModel();
            worldModel.DrawingSurfaceChains
                .Add(
                    new DrawingSurface(
                        worldModel,
                        "Front View",
                        new Plane(
                            new Point3D(0, 0, 0),
                            new Vector3D(100, 0, 0),
                            new Vector3D(0, 0, 100)),
                        100, 100));

            worldModel.DrawingSurfaceChains
                .Add(
                    new DrawingSurface(
                        worldModel,
                        "Side View",
                        new Plane(
                            new Point3D(100, 0, 0),
                            new Vector3D(0, 100, 0),
                            new Vector3D(0, 0, 100)),
                        100, 100));

            worldModel.DrawingSurfaceChains
                .Add(
                    new DrawingSurface(
                        worldModel,
                        "Top View",
                        new Plane(
                            new Point3D(0, 0, 100),
                            new Vector3D(100, 0, 0),
                            new Vector3D(0, 100, 0)),
                        100, 100));

            return worldModel;
        }
    }
}